﻿using FlowCanvas;
using FlowCanvas.Nodes;
using NodeCanvas.Framework;
using UnityEngine;
using Yoozoo.Gameplay.Liberty.StreetEvent;
using Yoozoo.Gta.Common;

namespace Yoozoo.Gameplay.Liberty.Nodes
{
    public class RefreshArenaCupGuidePos : CallableActionNode<bool, Vector3, Vector3>
    {
        public override void Invoke(bool visible, Vector3 pos, Vector3 offset)
        {
            ResidentHandler.Inst.GetFunction("CityLuaFunction.refreshArenaCupGuidePos").Action(visible, pos+offset);
        }
    }
}